package com.bbcare.followup.plat.entity;

import java.io.Serializable;

import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * @name: 队列信息实体类
 * @author: DemonLee
 * @createTime: 2017.4.11
 * @description: 患者建档基本信息等
 * @modify:
 *
 */

@Entity
public class FollowQueue implements Serializable {
    private static final long serialVersionUID = 1L;
    // 随访队列id
    private String id;
    // 随访队列名称
    private String queueName;
    // 默认随访方案id 队列可以没有方案，只管理患者
    private String schemeId;
    // 当前队列人数
    private int currNum;
    // 队列类型 0：个人私有队列 1：租户私有队列 2：公开队列
    private String queueType;
    // 随访队列简介
    private String queueIntro;
    // 队列创建人id
    private String authorId;
    // 队列状态 0已删除，1正常
    private String queueStatus;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 队列目标人数 -1表示不限制人数
    private Integer targetNum;
    // 租户id 队列所属的租户，租户有个人、科室、医院、多中心、医联体等类型
    private String tenantId;
    // 如果租户类型为科室 保存科室id
    private String deptId;
    // 建档任务内容模板id
    private String archiveTemplId;
    // 建档任务id
    private String archiveTaskId;
    // 队列图标样式
    private String styleLogo;

    private float perCent;
    // 新增字段
    // 是否公开 0：个人私有 1：组织私有 2：
    // private String isPublic;

    // 队列用户类型 0：宝宝 1：母亲
    private String queueUsertype;

    // 队列图标
    private String queueIcon;

    // 备注
    private String remark;

    // 二维码
    private String qrCode;

    // 1:默认 0：其他
    private String defaultOption;

    private String schemeName;

    private String unchecked;

    // 是否发送注册短信 1：不发送
    private String smsFlag;

    // 队列类型 0：随访系统，1：门诊诊疗系统
    private Integer schemeBusiType;

    // 队列建档审核类型(01事先审核，02事后审核）
    private String auditType;

    public String getSmsFlag() {
        return smsFlag;
    }

    public void setSmsFlag(String smsFlag) {
        this.smsFlag = smsFlag;
    }

    public String getSchemeName() {
        return schemeName;
    }

    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }

    public String getDefaultOption() {
        return defaultOption;
    }

    public void setDefaultOption(String defaultOption) {
        this.defaultOption = defaultOption;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public float getPerCent() {
        return perCent;
    }

    public void setPerCent(float perCent) {
        this.perCent = perCent;
    }

    public String getQueueUsertype() {
        return queueUsertype;
    }

    public void setQueueUsertype(String queueUsertype) {
        this.queueUsertype = queueUsertype;
    }

    public String getQueueIcon() {
        return queueIcon;
    }

    public void setQueueIcon(String queueIcon) {
        this.queueIcon = queueIcon;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }

    public String getQueueName() {
        return queueName;
    }

    public void setSchemeId(String schemeId) {
        this.schemeId = schemeId;
    }

    public String getSchemeId() {
        return schemeId;
    }

    public void setCurrNum(int currNum) {
        this.currNum = currNum;
    }

    public int getCurrNum() {
        return currNum;
    }

    public String getQueueType() {
        return queueType;
    }

    public void setQueueType(String queueType) {
        this.queueType = queueType;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public void setQueueIntro(String queueIntro) {
        this.queueIntro = queueIntro;
    }

    public String getQueueIntro() {
        return queueIntro;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setQueueStatus(String queueStatus) {
        this.queueStatus = queueStatus;
    }

    public String getQueueStatus() {
        return queueStatus;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setTargetNum(Integer targetNum) {
        this.targetNum = targetNum;
    }

    public Integer getTargetNum() {
        return targetNum;
    }

    public String getUnchecked() {
        return unchecked;
    }

    public void setUnchecked(String unchecked) {
        this.unchecked = unchecked;
    }

    public String getArchiveTemplId() {
        return archiveTemplId;
    }

    public void setArchiveTemplId(String archiveTemplId) {
        this.archiveTemplId = archiveTemplId;
    }

    public String getArchiveTaskId() {
        return archiveTaskId;
    }

    public void setArchiveTaskId(String archiveTaskId) {
        this.archiveTaskId = archiveTaskId;
    }

    public String getStyleLogo() {
        return styleLogo;
    }

    public void setStyleLogo(String styleLogo) {
        this.styleLogo = styleLogo;
    }

    public Integer getSchemeBusiType() {
        return schemeBusiType;
    }

    public void setSchemeBusiType(Integer schemeBusiType) {
        this.schemeBusiType = schemeBusiType;
    }

    public String getAuditType() {
        return auditType;
    }

    public void setAuditType(String auditType) {
        this.auditType = auditType;
    }

}
